#ifndef MAINSCENE_H
#define MAINSCENE_H

#include <QWidget>
#include "ifmform.h"
#include "loginform.h"

namespace Ui {
class MainScene;
}

class MainScene : public QWidget
{
    Q_OBJECT

public:
    explicit MainScene(QWidget *parent = nullptr);
    ~MainScene();
    void initIfm();
private slots:
    void on_pushButton_Reflash_clicked();

    void on_pushButton_Search_clicked();

    void on_pushButton_Admin_clicked();

private:
    Ui::MainScene *ui;
    void setBackgroundImage(const QString &path);
    void initForm();
    IfmForm *f;
    LoginForm *lf;
};

#endif // MAINSCENE_H
